package sigeco.util.dao.hibernate;

import java.io.Serializable;
import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import sigeco.util.dao.Dao;

public class HibernateDao extends HibernateDaoSupport implements Dao {

	
	public void delete(Object object) {
		this.getHibernateTemplate().delete(object);
	}

	public void delete(Object... objects) {
		for (Object object : objects) {
			this.delete(object);
		}
	}

	public List list(Class clazz) {
		return this.getHibernateTemplate().loadAll(clazz);
	}

	public List list(Class clazz, int start, int amount) {
		return null;
	}

	public void save(Object object) {
		// TODO Auto-generated method stub
		
	}

	public void save(Object... objects) {
		// TODO Auto-generated method stub
		
	}

	public Object get(Class clazz, Serializable id) {
		// TODO Auto-generated method stub
		return null;
	}
	
	

}
